/*
 * @Date: 2023-03-06 13:42:55
 * @LastEditTime: 2023-09-20 13:58:05
 * @FilePath: /wkw/src/enum/globalEnum.ts
 * 介绍:
 */

import { i18n } from "@@/language";
import { CstateTagEmun } from "@@/components/common/CstateTag";
import { _require } from "@@/utils/tools";

//@ts-ignore
const { t } = i18n.global;

/**txid状态 */
export const txidStatus = computed<CstateTagEmun>(() => [
  {
    text: t("que-reng-zhong"),
    value: 0,
    bg: "var(--C-await)",
  },
  {
    text: t("cheng-gong"),
    value: 1,
    bg: "var(--C-success)",
  },
  {
    text: t("shi-bai"),
    value: 2,
    bg: "var(--C-fail)",
  },
]);
